﻿<%@ Page Title="发布旅游攻略" Language="C#" MasterPageFile="~/Site.Master" AutoEventWireup="true"
    Inherits="Wjtour.Web.Front.articlenew" %>

<%@ Register TagPrefix="CE" Namespace="CuteEditor" Assembly="CuteEditor" %>
<%@ Import Namespace="Wjtour.Domain" %>
<%@ Import Namespace="Wjtour.Common" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
    <script language="javascript">
        $(document).ready(function () {
            var height = $('.inpageright').height(); // 通过这个数字来控制显示的子菜单
            $('.inpageleft').height(height);
        });

    </script>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="content" runat="server">
    <div class="ipage indexpage">
        <!--左侧-->
        <div class="inpageleft">
            <div class="siderbox">
                <img src="css/images/title06.jpg" />
                <div class="hrs"></div>
                <div class="welcome">
                    <%=CurrentDate %><span class="weekstr"><%=CurrentDay %></span><br />
                    <%=CurrentMember.username %>，您好<br />
                        <a href="logout.aspx">退出登录</a><br />
                    <span class="welcomewords">欢迎登录吴江旅游网</span>

                </div>
            </div>
            <!--侧导航下方-->
            <br />
            <img src="css/images/line01.png" />
            <br />
            <div class="siderbox">
                <ul class="sidertitle">
                    <li><a href="memberinfoedit.aspx">
                        <img src="css/images/membersider01.png" /></a>
                    </li>
                    <li><a href="memberpassedit.aspx">
                        <img src="css/images/membersider02.png" /></a>
                    </li>
                    <li><a href="articlemanage.aspx">
                        <img src="css/images/membersider03.png" /></a>
                    </li>
                    <li><a href="photography.aspx">
                        <img src="css/images/membersider04.png" /></a>
                    </li>
                </ul>
            </div>

        </div>

        <!--右侧-->
        <div class="inpageright">
            <div class="path">
                <span>发布旅游攻略</span>
                当前位置：<a href="/">首页</a> &gt; 会员中心 &gt; 旅游攻略管理 &gt;  发布旅游攻略
            </div>
            <div class="content">
                <div class="form-horizontal">
                    <div class="control-group">
                        <label class="control-label" for="name"><span class="help-inline redwords">*</span> 攻略标题：</label>
                        <div class="controls">
                            <asp:TextBox ID="title" Width="300" runat="server" MaxLength="200" />
                        </div>
                    </div>
                    <div class="control-group">
                        <label class="control-label" for="name"><span class="help-inline redwords">*</span> 缩略图：</label>
                        <div class="controls">
                            <asp:HiddenField runat="server" ID="img" />
                            <asp:FileUpload ID="upload" runat="server" />
                            <asp:Button ID="btnPublish" runat="server" Text="上传" CssClass="memberbutton" />
                        </div>
                    </div>
                    <div class="control-group">
                        <label class="control-label" for="name"><span class="help-inline redwords"></span>图片预览：</label>
                        <div class="controls">
                            <asp:Image runat="server" ID="imgPreview" ImageUrl="" />
                        </div>
                    </div>
                    <div class="control-group">
                        <label class="control-label" for="name"><span class="help-inline redwords">*</span> 攻略内容：</label>
                    </div>
                    <div class="control-group">
                        <div class="controls" style="margin-left:0px;">
                            <ce:editor id="content" runat="server" height="860" width="720" />
                        </div>
                    </div>
                    <div class="control-group">
                        <label class="control-label" for="name"><span class="help-inline redwords">*</span> 验证码：</label>
                        <div class="controls">
                            <asp:TextBox ID="code" runat="server" Width="60" />
                            <img src="admin/ValidateCode.ashx" alt="验证码" onclick="refresh()" style="cursor: hand;" />
                        </div>
                    </div>
                    <div class="control-group">

                        <div class="controls">
                            <asp:Button ID="submit" runat="server" Text="提交" CssClass="memberbutton" />
                        </div>
                    </div>

                </div>

            </div>
        </div>
        <div class="clear"></div>
    </div>
    <script type="text/javascript">
        function refresh() {
            var evt = event.srcElement || event.target;
            evt.src = "admin/ValidateCode.ashx?t=" + new Date().getMilliseconds();
        }
    </script>
</asp:Content>
